import instance from './request'
import { home_list_TS, mListInterface1 } from '../models'

export const typelistApi = (): Promise<{code:number,data:mListInterface1[]}> => {
  return instance.get('/typelist')
}
export const minelistApi = (): Promise<{code:number,data:home_list_TS[]}> => {
  return instance.get('/minelist')
}